package com.talkweb.securitycamera.utils.eventlib.communicationevent;

/**
 * @version 1.0.1
 * @description: 消息回调接口
 * @program: Gallery
 * @Author xiaozhijun
 * @Date 2020/12/23 10:00
 */
public interface IEventListener<T extends PhotoEvent> {

    /**
     * 事件回调
     */
    void onEvent(T event);

}
